<template>
  <div id="app">
    <header class="head">
      <a class="back tl" href="javascript:history.back(-1)">
        <i class="el-icon-arrow-left"></i>
      </a>
      <a href="javascript:;" class="tc">
        <small class="font_18 co_f">固定资产</small>
      </a>
    </header>
    <main>
        <!-- <section class="item-title">
          搜索到：房产处数:<span>2222</span> 闲置面积：<span>1111</span>
        </section> -->
        <section>
            <ul class="munebox">
              <li>
                 <router-link :to='{name: "AssetsInventorylist"}'> 
                    <img :src="assets[0].src">
                    <p>资产信息</p>
                 </router-link>
              </li>
              <li>
                 <router-link :to='{name: "CarInventorylist"}'> 
                   <img :src="assets[1].src">
                    <p>车辆信息</p>
                   </router-link>
              </li>
            </ul>
        </section>
    </main>
  </div>
</template>

<script type="text/ecmascript-6">
 import { mapState } from 'vuex'
 export default {
  components: {
  },
  data() {
    return {
    };
  },
  computed: {
    ...mapState({
      assets: state => state.managementStore.assets,
    }),
  },

  methods: {
  },
  mounted() {
  }

}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->

<style lang="scss" scoped>

</style>
